package com.yunxin.core.application.service;


import com.yunxin.core.application.command.popup.AddPopupCommand;
import com.yunxin.core.application.command.popup.AddProductsCommand;
import com.yunxin.core.application.command.popup.EditPopupCommand;
import com.yunxin.core.application.command.popup.SaveProductDataCommand;

/**
 * @author zero°
 * @since 2023-12-11
 */
public interface PopupApplicationAdminService {

    /**
     * 新增推荐弹窗
     * @param command command
     * @return Boolean
     */
    Boolean add(AddPopupCommand command);

    /**
     * 修改推荐弹窗
     * @param command command
     * @return Boolean
     */
    Boolean edit(EditPopupCommand command);

    /**
     * 添加弹窗产品
     * @param command command
     * @return Boolean
     */
    Boolean addProducts(AddProductsCommand command);

    /**
     * 保存产品配置
     * @param command command
     * @return Boolean
     */
    Boolean saveProductData(SaveProductDataCommand command);
}
